package com.matt.foundation.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.matt.foundation.model.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 预约到访(AboutVisit)查询类
 *
 * @author makejava
 * @since 2025-02-20 11:01:26
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AboutVisitQuery extends Model {

    private Date created;

    private String deleted;

    private String areaId;

    private Date birthday;

    private Integer category;

    private String changeStatusVal;

    private String childName;

    private Integer gender;

    private String homeAddress;

    private String mobile;

    private String name;

    private String nickName;

    private String registerResidence;

    private String registerType;

    private String relationship;

    private Integer status;

    private String updateUser;

    private Date updateTime;

    private String staffId;

    private String staffName;

    private String remark;

    private Integer isPallet;

    private String week;

    private Date nextTime;

    private String address;

    private Date datetime;

    private Integer pageNum = 1;

    private Integer pageSize = 10;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date endTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+08:00")
    private Date initiateTime;

    private String userId;
}

